package demo_designPattern.factory.beanFactory;

import demo_designPattern.factory.beanFactory.group.Color;
import demo_designPattern.factory.beanFactory.group.Layout;
import demo_designPattern.factory.beanFactory.group.Style;

public class Skin {
	private Color color;
	private Style style;
	private Layout layout;
	
	public void display(){
		this.getColor().showColor();
		this.getStyle().showStyle();
		this.getLayout().showLayout();
	}
	
	public Color getColor() {
		return color;
	}
	public void setColor(Color color) {
		this.color = color;
	}
	public Style getStyle() {
		return style;
	}
	public void setStyle(Style style) {
		this.style = style;
	}
	public Layout getLayout() {
		return layout;
	}
	public void setLayout(Layout layout) {
		this.layout = layout;
	}
}
